package com.da.auth.convert;

import com.da.auth.entity.DailyUsers;
import com.da.auth.entity.dto.DailyUsersDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author: hyacinth
 * @CreateTime: 2025-01-11
 * @Version: 1.0
 */
@Mapper
public interface DailyUserConverter {
    DailyUserConverter INSTANCE = Mappers.getMapper(DailyUserConverter.class);

    DailyUsers convertDTOToEntity(DailyUsersDTO dailyUsersDTO);

    List<DailyUsers> convertDTOListToEntityList(List<DailyUsersDTO> dailyUsersDTOList);

}
